package com.lanyou.esb.vo;

import java.util.List;

/**
 * 流量明细统计数据
 * 
 * @author Davey.wu
 */
public class QuantityDetailVo {
	/** 总数 **/
	private long total;
	private List<Entry> entrys;

	public static class Entry implements Cloneable {
		/** 领域信息表名 **/
		private String fieldName;
		/** 系统表名 **/
		private String systemName;
		/** 接口名 **/
		private String ifName;
		/** 接口状态 **/
		private String status;
		/** 访问次数 **/
		private int times;

		public static Entry getInstance(String fieldName, String systemName,
				String ifName, String status, int times) {
			Entry ifGroup = new Entry();
			ifGroup.fieldName = fieldName;
			ifGroup.systemName = systemName;
			ifGroup.ifName = ifName;
			ifGroup.status = status;
			ifGroup.times = times;
			return ifGroup;
		}

		public String getFieldName() {
			return fieldName;
		}

		public void setFieldName(String fieldName) {
			this.fieldName = fieldName;
		}

		public String getSystemName() {
			return systemName;
		}

		public void setSystemName(String systemName) {
			this.systemName = systemName;
		}

		public String getIfName() {
			return ifName;
		}

		public void setIfName(String ifName) {
			this.ifName = ifName;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public int getTimes() {
			return times;
		}

		public void setTimes(int times) {
			this.times = times;
		}

	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<Entry> getEntrys() {
		return entrys;
	}

	public void setEntrys(List<Entry> entrys) {
		this.entrys = entrys;
	}
}
